
public class RangeRover {
private boolean isMadeInGB;
private double kmTraveled;



public void travel(double kmToTravel){
	if(kmToTravel>0)
		kmTraveled=+kmToTravel;
}

public boolean isMadeInGB() {
	return isMadeInGB;
}

public void setMadeInGB(boolean isMadeInGB) {
	this.isMadeInGB = isMadeInGB;
}

public double getKmTraveled() {
	return kmTraveled;
}

public void setKmTraveled(double kmTraveled) {
	if(kmTraveled>0)
	this.kmTraveled = kmTraveled;
}
}
